home *** CD-ROM | disk | FTP | other *** search
/ Skunkware 5 / Skunkware 5.iso / man / cat.1 / ppmtopgm.1 < prev    next >
Text File  |  1995-07-25  |  2KB  |  67 lines

  1.  
  2.  
  3.  
  4.      ppppppppmmmmttttooooppppggggmmmm((((1111))))     XXXXEEEENNNNIIIIXXXX SSSSyyyysssstttteeeemmmm VVVV ((((22223333 DDDDeeeecccceeeemmmmbbbbeeeerrrr 1111999988888888))))     ppppppppmmmmttttooooppppggggmmmm((((1111))))
  5.  
  6.  
  7.  
  8.      NNNNAAAAMMMMEEEE
  9.           ppmtopgm - convert a portable pixmap into a portable graymap
  10.  
  11.      SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS
  12.           ppppppppmmmmttttooooppppggggmmmm [_p_p_m_f_i_l_e]
  13.  
  14.      DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
  15.           Reads a portable pixmap as input.  Produces a portable
  16.           graymap as output.  The quantization formula used is .299 r
  17.           + .587 g + .114 b.
  18.  
  19.           Note that although there is a _p_g_m_t_o_p_p_m program, it is not
  20.           necessary for simple conversions from _p_g_m to _p_p_m, because
  21.           any ppm program can read _p_g_m (and _p_b_m ) files automagically.
  22.           _p_g_m_t_o_p_p_m is for colorizing a _p_g_m file.  Also, see _p_p_m_t_o_r_g_b_3
  23.           for a different way of converting color to gray.
  24.  
  25.      QQQQUUUUOOOOTTTTEEEE
  26.           Cold-hearted orb that rules the night
  27.           Removes the colors from our sight
  28.           Red is gray, and yellow white
  29.           But we decide which is right
  30.           And which is a quantization error.
  31.  
  32.      SSSSEEEEEEEE AAAALLLLSSSSOOOO
  33.           pgmtoppm(1), ppmtorgb3(1), rgb3toppm(1), ppm(5), pgm(5)
  34.  
  35.      AAAAUUUUTTTTHHHHOOOORRRR
  36.           Copyright (C) 1989 by Jef Poskanzer.
  37.  
  38.  
  39.  
  40.  
  41.  
  42.  
  43.  
  44.  
  45.  
  46.  
  47.  
  48.  
  49.  
  50.  
  51.  
  52.  
  53.  
  54.  
  55.  
  56.  
  57.  
  58.  
  59.  
  60.  
  61.  
  62.  
  63.      Page 1                                           (printed 9/7/93)
  64.  
  65.  
  66.  
  67.